package com.example.tijianbackend.pojo;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: bong~
 * @description: TODO
 * @date: 2024/6/14 13:51
 * @version: 1.0
 */

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Hospital {

    @TableId("hpId")
    private Integer hpId;

    private String name;

    private String telephone;

    private String address;

    @TableField("businessHours")
    private String businessHours;

    private String deadline;

    private String rule;

    private Integer state;

    private String picture;

    @Override
    public String toString() {
        return "Hospital{" +
                "hpId=" + hpId +
                ", name='" + name + '\'' +
                ", telephone='" + telephone + '\'' +
                ", address='" + address + '\'' +
                ", businessHours='" + businessHours + '\'' +
                ", deadline='" + deadline + '\'' +
                ", rule='" + rule + '\'' +
                ", state=" + state +
                ", picture='" + picture + '\'' +
                '}';
    }
}
